package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @QuestionOption
 * @问题选项(question_option)
 * @version : Ver 1.0
 */
@TableName("question_option")
public class QuestionOption implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:主键 选项id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;


	/**
	 * @备注:问卷id
	 * @字段:questionnaire_id BIGINT(19)
	 */
	private java.lang.Long questionnaireId;


	/**
	 * @备注:问题id
	 * @字段:question_id BIGINT(19)
	 */
	private java.lang.Long questionId;


	/**
	 * @备注:内容
	 * @字段:content VARCHAR(300)
	 */
	private java.lang.String content;


	/**
	 * @备注:添加时间
	 * @字段:addtime DATETIME(19)
	 */
	private java.util.Date addtime;


	/**
	 * @备注:选项
	 * @字段:options VARCHAR(4)
	 */
	private java.lang.String options;


	public QuestionOption(){
	}

	public QuestionOption(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setQuestionnaireId(java.lang.Long questionnaireId) {
		this.questionnaireId = questionnaireId;
	}

	public java.lang.Long getQuestionnaireId() {
		return this.questionnaireId;
	}


	public void setQuestionId(java.lang.Long questionId) {
		this.questionId = questionId;
	}

	public java.lang.Long getQuestionId() {
		return this.questionId;
	}


	public void setContent(java.lang.String content) {
		this.content = content;
	}

	public java.lang.String getContent() {
		return this.content;
	}


	public void setAddtime(java.util.Date addtime) {
		this.addtime = addtime;
	}

	public java.util.Date getAddtime() {
		return this.addtime;
	}


	public void setOptions(java.lang.String options) {
		this.options = options;
	}

	public java.lang.String getOptions() {
		return this.options;
	}
}
